package com.html2rss.models;

import org.w3c.dom.Document;

import java.util.List;
import java.util.ArrayList;
import java.io.Serializable;

import com.html2rss.core.HttpURL;
import com.html2rss.models.Query;

/**
 * User: VSlaykovskiy
 * Date: 11.04.2007
 * Time: 16:46:32
 */
public class WizardHistory implements Serializable {
    private HttpURL startPage;
    private List <Document> doc;
    private List <HttpURL> url;
    private List<WizardHistoryPage> pages = new ArrayList<WizardHistoryPage>();
    private List<Query> feedSuggestions;

    public void addPage(HttpURL url, Document doc, WizardHistoryPage page) {
        
    }

    public List<Document> getDoc() {
        return doc;
    }

    public void setDoc(List<Document> doc) {
        this.doc = doc;
    }



    public Document getDoc(int i) {
        return doc.get(i);
    }

    public void setDoc(int i, Document doc) {
        this.doc.set(i, doc);
    }

    public WizardHistory() {
    }

    public WizardHistoryPage get(int i) {
        return pages.get(i);
    }
    public void put(int i, WizardHistoryPage whp) {
        pages.set(i, whp);
    }

    public int size() {
        return pages.size();
    }


    public List<Query> getFeedSuggestions() {
        return feedSuggestions;
    }

    public void setFeedSuggestions(List<Query> feedSuggestions) {
        this.feedSuggestions = feedSuggestions;
    }
}
